// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueResource from 'vue-resource'
import router from './router'
import goods from './components/goods/goods'
/*此处引入vue-router*/
import VueRouter from 'vue-router';

/*全局引入样式*/
import './common/stylus/index.styl'
/*使用vue-router*/
Vue.use(VueRouter);
Vue.use(VueResource);

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});

